package cn.icare.cms.model.ro;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

@ApiModel(value = "AddShopCartRO",description = "购物车商品增加参数对象类")
public class AddShopCartRO {
    @ApiModelProperty(value = "商品Id",required = true)
    private Long itemId;

    @ApiModelProperty(value = "商品名称",required = true)
    private String title;
    @ApiModelProperty(value = "商品主图地址",required = true)
    private String image;
//    @ApiModelProperty(value = "商品价格",required = true)
//    private BigDecimal price;
    @ApiModelProperty(value = "商品数量",required = true)
    private Integer num;

    public Long getItemId() {
        return itemId;
    }

    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

//    public BigDecimal getPrice() {
//        return price;
//    }
//
//    public void setPrice(BigDecimal price) {
//        this.price = price;
//    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }
}
